﻿#ifndef __PLATFORM_H
#define __PLATFORM_H

typedef unsigned char uint8;
typedef signed char int8;
typedef unsigned short uint16;
typedef signed short int16;
typedef unsigned int uint32;
typedef signed int int32;

typedef enum _ret_status
{
    FAIL=0,
    SUCCESS,
}Ret_Status;

#define SUCCESS 1
#define FAIL    0

//#define DEBUG_INFO
#ifdef DEBUG_INFO
#define DEBUG(fmt,arg...)   printf(fmt,##arg)
#else
#define DEBUG(fmt,arg...)
#endif

#define ERROR_INFO
#ifdef ERROR_INFO
#define ERROR(fmt,arg...)   printf(fmt,##arg)
#else
#define ERROR(fmt,arg...)
#endif

#endif
